/**
 * 
 */
package com.rostami.tutorial.spring.diSetterMethod;

import com.rostami.tutorial.spring.main.IHotDrink;

/**
 * @author Alireza
 *
 */
public class RestaurantSetter {
	
	private IHotDrink hotDrink;
	
	/*public RestaurantSetter(IHotDrink hotDrink){
		this.hotDrink = hotDrink;
	}*/
	
	
	
	public IHotDrink getHotDrink() {
		return hotDrink;
	}



	public void setHotDrink(IHotDrink hotDrink) {
		this.hotDrink = hotDrink;
	}



	public void prepareHotDrink(){
		hotDrink.prepareHotDrink();
	}
}
